Create an extcommunity-list.
This example creates an extcommunity-list of type standard.
efa policy extcommunity-list create --name excommlist-1 --type standard --rule "seq[4],action[permit],soo[10.11.2.3:22]"
+------------------------------+---------+--------+----+--------------+-----------+
| Extended community list name | Seq num | Action | Rt | Soo | Ext Value |
+------------------------------+---------+--------+----+--------------+-----------+
| excommlist-1 | 4 | permit | | 10.11.2.3:22 | |
+------------------------------+---------+--------+----+--------------+-----------+
Extended community list details
+------------+--------+--------+-----------------+
| IP Address | Result | Reason | Rollback reason |
+------------+--------+--------+-----------------+
Device Results
This example adds an extcommunity-list to the specified devices.
efa policy extcommunity-list update --name excommlist-1 --type standard --operation add-device --ip 10.20.246.29,10.20.246.30
+------------------------------+---------+--------+-------+--------------+-----------+
| Extended community list name | Seq num | Action | Rt | Soo | Ext Value |
+------------------------------+---------+--------+-------+--------------+-----------+
| excommlist-1 | 4 | permit | | 10.11.2.3:22 | |
+------------------------------+---------+--------+-------+--------------+-----------+
| excommlist-1 | 5 | deny | 1:345 | | |
+------------------------------+---------+--------+-------+--------------+-----------+
| excommlist-1 | 6 | permit | 1:45 | 10.11.2.3:22 | |
+------------------------------+---------+--------+-------+--------------+-----------+
Extended community list details
+--------------+---------+--------+-----------------+
| IP Address | Result | Reason | Rollback reason |
+--------------+---------+--------+-----------------+
| 10.20.246.29 | Success | | |
+--------------+---------+--------+-----------------+
| 10.20.246.30 | Success | | |
+--------------+---------+--------+-----------------+
Device Results